import { get, post } from './index';

export function reg(playload) {
    return post('/api/reg', playload)
}

export function login(playload) {
    return post('/api/login', playload)
}